/*
 * =====================================================================================
 *
 *       Filename:  main.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  04/12/19 22:46:08
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  jianxi sun (jianxi), ycsunjane@gmail.com
 *   Organization:  
 *
 * =====================================================================================
 */
#ifndef __MAIN_H__
#define __MAIN_H__
#include <ev.h>
#include "buffer.h"
#include "uthash/include/uthash.h"

#define MAXNICLEN	(64)
struct nic_t {
	char nic[MAXNICLEN];
	uint8_t mac[6];
	struct sockaddr_in addr;
	struct socks5_server *gs;
	UT_hash_handle hh;
};
#endif /* __MAIN_H__ */
